using System.Collections;
using System.Collections.Generic;
using Bingo.API.Localization;
using CatLib;
using UnityEngine;

namespace Bingo.Facades
{
    public class Localization : Facade<ILocalization>
    {
        public static void Load()
        {
            Instance.Load();
        }

        public static string GetLocalText(string key, string locale)
        {
            return Instance.GetLocalText(key, locale);
        }
        
        public static string GetText(string key)
        {
            return Instance.GetText(key);
        }

        public static void ChangeLanguage()
        {
            Instance.ChangeLanguage();
        }
    }
}